<div class="event">
    <div style="float:left"><a class="fancy_box" href="<?=base_url(); ?>profile/<?=$post->user_id;?>"><?=$post->display_name;?></a> changed his avatar.</div>
    <div style="clear:both"></div>

    <? $old_avatar_filename = $this->PostsModel->oldAvatarFilename($post->user_id, $post->avatar_filename); ?>
    <? $this->load->view("posts/avatar.php", array("filename" => $old_avatar_filename, "css_class" => "small_avatar"));?>

    <img src="<?=base_url("images/layout/1327847279_monotone_arrow_right.png")?>"/>

    <? $this->load->view("posts/avatar.php", array("filename" => $post->avatar_filename, "css_class" => "small_avatar"));?>

</div>